package com.yanftch.hdc_tools.ui;

import javax.swing.*;

public class HdcToolsSettings {
    private JTextField bundleName;
    private JTextField defaultAbility;
    private JPanel hdc_tools_set;
    private JTextField hdcPathField;
    private JLabel qaBundleName;
    private JLabel qaDefaultAbility;
    private JLabel qaHdcPath;
    private JCheckBox checkBox;

    public HdcToolsSettings() {
//        Icon questionIcon = UIManager.getIcon("OptionPane.questionIcon");

//        qaBundleName.setIcon(questionIcon);
//        qaDefaultAbility.setIcon(questionIcon);
//        qaHdcPath.setIcon(questionIcon);

        qaBundleName.setText("ⓘ");
        qaDefaultAbility.setText("ⓘ");
        qaHdcPath.setText("ⓘ");
        qaBundleName.setToolTipText("APP的唯一标识。比如：com.example.tools");
        qaDefaultAbility.setToolTipText("启动页的Ability名字。比如：EntryAbility");
        qaHdcPath.setToolTipText("环境变量中配置的hdc路径,结尾需要包含 hdc。比如：/Users/yanfeng/develop/hdc");
    }

    public JCheckBox getCheckBox() {
        return checkBox;
    }

    public JTextField getHdcPath() {
        return hdcPathField;
    }

    public JPanel getMainPanel() {
        return hdc_tools_set;
    }

    public JTextField getBundleName() {
        return bundleName;
    }

    public JTextField getDefaultAbility() {
        return defaultAbility;
    }

}
